<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Ajax</title>
  <!-- <link rel="stylesheet" href="/style.css"> -->
</head>

<body>
  <h1>
    Ajax Hello
    <span id='userName'></span>
  </h1>
  <p>
    <button id='getCSS'>请求CSS</button>
    <button id='getJS'>请求 JS</button>
    <button id='getDiv'>请求 div</button>
    <button id='getXml'>请求 xml</button>
    <button id='getJSON'>请求 JSON</button>
    <button id='getPage'>请求 下一页</button>
  </p>

  <div>
    {{page1}}
  </div>
</body>
<script src="/main.js"></script>

</html>